package main

/*
#include <stdio.h>
#include <stdlib.h>

void print(const char* content) {
    printf("%s\n", content);
}
*/
import "C"
import "unsafe"

func main() {
	input := "Hello ice-rainbow-game-server!"
	cContent := C.CString(input)
	// 调用 C 函数 print
	C.print(cContent)
	// 释放内存
	C.free(unsafe.Pointer(cContent))
}
